try {
	Type.registerNamespace('MaterialConvertVO');

	//基础档案-物料辅计量管理VO
	MaterialConvertVO = function() {};
	MaterialConvertVO.prototype = new NCMMPubUtil.SuperVO();
	MaterialConvertVO.PKMATERIALCONVERT={
	    name:"pk_materialconvert",
	    type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//物料主键
	MaterialConvertVO.PKMATERIAL = {
		name: "pk_material",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//计量单位PK
	MaterialConvertVO.PKMEASDOC = {
		name: "pk_measdoc",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//计量单位编码
	MaterialConvertVO.MEASDOC_CODE = {
		name: "measdoc_code",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//计量单位名称
	MaterialConvertVO.MEASDOC_NAME = {
		name: "measdoc_name",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//换算率
	MaterialConvertVO.VCHANGRATE = {
		name: "vchangerate",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//是否结存
	MaterialConvertVO.ISSTOREBALANCE = {
		name: "isstorebalance",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//是否采购默认
	MaterialConvertVO.ISPUMEASDOC = {
		name: "ispumeasdoc",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//是否生产默认
	MaterialConvertVO.ISPRODMEASDOC = {
		name: "isprodmeasdoc",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//是否库存默认
	MaterialConvertVO.ISSTOCKMEASDOC = {
		name: "isstockmeasdoc",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//是否销售默认
	MaterialConvertVO.ISSALEMEASDOC = {
		name: "issalemeasdoc",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//是否零售默认
	MaterialConvertVO.ISRETAILMEASDOC = {
		name: "isretailmeasdoc",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//是否件数管理
	MaterialConvertVO.ISPIECEMANGAGE = {
		name: "ispiecemangage",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	
	MaterialConvertVO.prototype.getAllAttrs = function() {
		return [MaterialConvertVO.PKMATERIALCONVERT,
			MaterialConvertVO.PKMATERIAL,
			MaterialConvertVO.PKMEASDOC,
			MaterialConvertVO.MEASDOC_CODE,
			MaterialConvertVO.MEASDOC_NAME,
			MaterialConvertVO.VCHANGRATE,
			MaterialConvertVO.ISSTOREBALANCE,
			MaterialConvertVO.ISPUMEASDOC,
			MaterialConvertVO.ISPRODMEASDOC,
			MaterialConvertVO.ISSTOCKMEASDOC,
			MaterialConvertVO.ISSALEMEASDOC,
			MaterialConvertVO.ISRETAILMEASDOC,
			MaterialConvertVO.ISPIECEMANGAGE
		];
	};
	MaterialConvertVO.prototype.getTableName = function() {
		return "app_bd_materialconvert";
	};
	MaterialConvertVO.prototype.getPrimaryAttr = function() {
		return MaterialConvertVO.PKMATERIALCONVERT;
	};
} catch(e) {
	$e(e);
}